<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet"  type="text/css" href="/css/reset.css">
    <link rel="stylesheet"  type="text/css" href="/css/main.css">
    <script type="text/javascript" src="/js/jquery-1.12.4.min.js"></script>
</head>
<body class="base_background">
    <div class="base">
        <div class="base_info">
            <h3>店家关注</h3>
        </div>
        <div class="base_content">
            <div class="user_concern">
                {{if concernResult}}
                {{each concernResult}}
                <script>
                    $(function() {
                        $(".concern_href_{{$index}}").click(function(e){
                            e.preventDefault()
                            top.location.href="/web_merchant/{{$value.merchant_id}}"
                        });
                    });
                </script>
                <a href="javascript:;" class="concern_href_{{$index}}">
                    <div class="concern_show">
                        <img src="{{$value.commenter.merchant_img}}" alt="">
                        <p>{{$value.commenter.merchant_name}}<br>
                            <span>已关注数量：{{$value.commenter.concern_num}}</span>
                        </p>
                    </div>
                </a>
                {{/each}}
                {{else}}
                <div class="no">您似乎还什么都没有关注!</div>
                {{/if}}
            </div>
        </div>
    </div>
</body>
</html>